<template>
  <div class="detail" @click="add">
    详情
  </div>
</template>
<script>
import useKeepAlivePosition from '@/router/keepAlive.js'
export default {
  ...useKeepAlivePosition,
  data() {
    return {}
  },
  methods: {
    add() {
      location.href = 'https://www.baidu.com'
    }
  }
}
</script>
<style type="text/css" scoped>
.detail {
  height: 200vh;
  border: 1px solid #000;
}
</style>
